package cn.tedu.sgs.record.mapper;

import cn.tedu.sgs.record.pojo.dto.RecordQuery;
import cn.tedu.sgs.record.pojo.entity.Record;
import cn.tedu.sgs.record.pojo.vo.RecordVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RecordMapper {
	List<RecordVO> selectRecord(RecordQuery recordQuery);

	int insert(Record record);

	List<RecordVO> selectById(RecordQuery recordQuery);

	int deleteById(Long id);

	int updateById(Record record);

	Record selectRecordById(Long id);
}